import React from 'react'
import { Table } from 'antd'
import LwjTable from 'components/LwjTable/LwjTable'

const PaymenterList = ({
  onSelectRows,
  onSelect,
  ...tableProps
}) => {
  const columns = [
    {
      title: '门店名称',
      dataIndex: 'organizationName',
      key: 'organizationName',
      width: "12%"
    }, {
      title: '财务账户名称',
      dataIndex: 'financialAccountName',
      key: 'financialAccountName',
      width: "16%"
    }, {
      title: '开户账号',
      dataIndex: 'bankAccount',
      key: 'bankAccount',
      width: "21%"
    }, {
      title: '组织名称',
      dataIndex: 'organizationName',
      key: 'organizationName',
      width: "12%"
    }
    , {
      title: '支行',
      dataIndex: 'financialAccountBranch',
      key: 'financialAccountBranch',
      width: "12%"
    }
    , {
      title: '银行名称',
      dataIndex: 'financialAccountBankName',
      key: 'financialAccountBankName',
      width: "12%"
    }
    , {
      title: '开户名',
      dataIndex: 'financialAccountBankUserName',
      key: 'financialAccountBankUserName',
      width: "12%"
    }
  ];

  return (
      <LwjTable
        {...tableProps}
        selectType="single"
        columns={columns}
        onSelectRows={onSelectRows}
      />
  )
};

export default PaymenterList
